Trò chơi đua xe động vật trong UNITY Engine
114.946 lượt xem;
- Logo.cs
- MainMenu /
- AnimalRacing /
- Scripts /
- Assets /
- project /
1 using UnityEngine;
2 using System.Collections;
3
4 namespace MainMenu
5 {
6 public class Logo : MonoBehaviour
7 {
8 public void Start()
9 {
10 gameObject.AddComponent<Actor>().addAction(new ActionSequence(new ActionDelay(1.8f), new ActionScaleTo(1, 1, 0.5f, Interpolation.swingOut)));
11 }
12 }
13 }
2 using System.Collections;
3
4 namespace MainMenu
5 {
6 public class Logo : MonoBehaviour
7 {
8 public void Start()
9 {
10 gameObject.AddComponent<Actor>().addAction(new ActionSequence(new ActionDelay(1.8f), new ActionScaleTo(1, 1, 0.5f, Interpolation.swingOut)));
11 }
12 }
13 }